5 ONERRORGOTO1000 10 MODE8:DIM:ERASEa,a$:DIMa(5),a$(1):a$(1)="Input":a$(0)="Delete":c$=CHR$(5):sf=0 20 CLS:PRINT"Input data (";s$;")";TAB(0);">Input,Delete,Clear,List,End ?"; 30 a=ASC(INPUT$(1)):IFa>96 THENa=a-32 40 ONa-66 GOTO300,100,200,,,,100,,,500 50 GOTO30 100 CLS:PRINTa$(SGN(a-68));" data (";s$;")";TAB(21);"[EXE]:menu";:z=SGN(a-69) 110 LOCATE0,1:PRINTc$;s$;"?"; 120 LOCATELEN(s$)+1,1:INPUT@12;z$:LOCATE0,0:IFz$="" THEN20 ELSEy=VALF(z$) 150 r=sz+z:s=sc+y*z:u=se+y*y*z 160 sz=r:sc=s:se=u:GOTO110 200 c=6 210 sh=sc/sz 220 sn=se-sh*sc:IFsn<0 THENsn=0 250 sj=SQR(sn/sz) 260 sl=SQR(sn/(sz-1)) 280 RETURN 300 PRINTc$;"clear data (Y/N) ?"; 310 a$=INPUT$(1,@):IFa$<>"Y" ANDa$<>"y" THEN20 320 sz=0:sc=0:se=0:GOTO20 500 CLS:GOSUB200:GOSUB580:i=1:GOSUB600:i=2 510 GOSUB600 520 z=ASC(INPUT$(1,@)):IFz=28 ORz=29 THEN20 530 IFz<>13 ANDz<>30 ANDz<>31 THEN520 540 IF(z=30 ANDi=1) OR(z=31 ANDi=c) THEN520 550 IFz=30 THENi=i-2 560 i=i+1:IFi=